package User;

import Operation.Opface;
import book.BookList;

/**
 * Created by Salted fish
 * Description:
 * User: 24539
 * Date：2021-09-22
 * Time: 16:27
 */
public abstract class Users {
    protected String name;

    protected Opface[] opfaces;//数组

    public Users(String name) {
        this.name = name;
    }
    public abstract int menu();

    public void doOperation(int choice, BookList bookList) {
        this.opfaces[choice].work(bookList);
    }
}
